import './assets/style/style.scss'
import { createApp } from 'vue'
import Antd from 'ant-design-vue'
import { createPinia } from 'pinia'
import appConfig from './app'
import router from './router'
import DataVVue3 from '@kjgl77/datav-vue3'
import App from './App.vue'
import '@/utils/setRem.js'
import { menuStore } from './store/menu'
const app = createApp(App)

app.use(createPinia())

const useMenuStore = menuStore()
//刷新防止404
useMenuStore.SETMENULIST()
app.use(router)
app.use(Antd)
app.use(DataVVue3)
app.use(appConfig)
app.mount('#app')




